package org.example.dao;

import org.springframework.stereotype.Component;

//spring容器自动创建一个UserDaoImpl对象 对象名首字母小写userDaoImpl
@Component
public class UserDaoImpl implements UserDao{
    @Override
    public String getName() {
        String name="jwky";
        return name;
    }
}
